chore(deps): update eslint (major) #230
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.11.0
->^8.0.0
^9.0.0
->^10.0.0
Release Notes
prettier/eslint-config-prettier
v8.2.0
Compare Source
v8.1.0
Compare Source
v8.0.0
Compare Source
Changed: All configs have been merged into one!
To upgrade, change:
Into:
The
"prettier"
config now includes not just ESLint core rules, but also rules from all plugins. Much simpler!So … what’s the catch? Why haven’t we done this earlier? Turns out it’s just a sad mistake. I (@lydell) was confused when testing, and thought that turning off unknown rules in a config was an error. Thanks to Georgii Dolzhykov (@thorn0) for pointing this out!
If you use [eslint-plugin-prettier], all you need is [plugin:prettier/recommended]:
(The ["prettier/prettier" config][prettier-prettier-config] still exists separately. It’s the odd one out. The main
"prettier"
config does not include the rules from it.)Changed: The CLI helper tool now only prints warnings for [arrow-body-style] and [prefer-arrow-callback], just like other “special rules.” This means that if you’ve decided to use those rules and [eslint-plugin-prettier] at the same time, you’ll get warnings but exit code zero (success).
v7.2.0
Compare Source
v7.1.0
Compare Source
v7.0.0
Compare Source
Changed: At least ESLint 7.0.0 is now required.
Changed: [arrow-body-style] and [prefer-arrow-callback] are no longer turned off by default. They only need to be turned off if you use [eslint-plugin-prettier]. If you do, add
"prettier/prettier"
to your"extends"
array to turn them off again.Alternatively, update [eslint-plugin-prettier] to version 3.2.0 or later which automatically turns off these two rules in its
"plugin:prettier/recommended"
config.The CLI helper tool only warns about these rules if you have the
"prettier/prettier"
rule enabled for a file.Changed:
no-tabs
is now a validatable rule. If you use it, you should enableallowIndentationTabs
so that the rule works regardless of your Prettier config:Changed: The CLI helper tool is now called just
eslint-config-prettier
instead ofeslint-config-prettier-check
. This is so thatnpx eslint-config-prettier
always works regardless of whether you have already installedeslint-config-prettier
or not: If you have, the local installation is used; if you haven’t,npx
downloads a temporary copy.Changed: The CLI helper tool no longer requires you to pipe the output of
eslint --print-config
to it. Instead, it does that automatically for you via ESLint API:s added in ESLint v7.Before:
After:
Improved: The npm package is now 75% smaller.
v6.15.0
Compare Source
v6.14.0
Compare Source
v6.13.0
Compare Source
v6.12.0
Compare Source
ember-cli/eslint-plugin-ember
v10.3.0
Compare Source
🚀 Enhancement
additionalClassImports
option tono-classic-classes
rule (@scalvert)🐛 Bug Fix
no-shadow-route-definition
rule (@bmish)this.extend()
inno-classic-classes
rule (@bmish)avoid-leaking-state-in-ember-objects
rule to apply to mixins (@jaydgruber)Committers: 3
v10.2.0
Compare Source
🚀 Enhancement
🐛 Bug Fix
jquery-ember-run
rule (@bmish)Committers: 2
v10.1.2
Compare Source
🐛 Bug Fix
no-jquery
rule (@BarryThePenguin)no-global-jquery
rule (@bmish)🏠 Internal
jquery-ember-run
rule (@bmish)Committers: 2
v10.1.1
Compare Source
🐛 Bug Fix
no-component-lifecycle-hooks
rule (@Turbo87)🏠 Internal
Committers: 2
v10.1.0
Compare Source
🚀 Enhancement
🐛 Bug Fix
willDestroy
should be considered a classic component lifecycle hook in require-super-in-lifecycle-hooks and no-component-lifecycle-hooks rules (@bmish)willDestroy
Glimmer component hook in require-super-in-lifecycle-hooks rule (@bmish)🏠 Internal
Committers: 4
v10.0.2
Compare Source
🐛 Bug Fix
📝 Documentation
Committers: 1
v10.0.1
Compare Source
🐛 Bug Fix
settled()
in no-settled-after-test-helper rule (@Turbo87)Committers: 1
v10.0.0
Compare Source
💥 Breaking Change
octane
rules torecommended
config and deleteoctane
config (@bmish)recommended
rules (@bmish)checkPlainGetters
option default to true in no-side-effects rule (@bmish)checkNativeClasses
option default to true in require-super-in-init rule (@bmish)checkInitOnly
option default to false in require-super-in-init rule (@bmish)require-super-in-init
rule to require-super-in-lifecycle-hooks (@bmish)checkSafeObjects
option default to true in no-get-with-default rule (@bmish)checkUnsafeObjects
option default to true in no-get-with-default rule (@bmish)📝 Documentation
Committers: 3
v9.6.0
Compare Source
🚀 Enhancement
catchSafeObjects
andcatchUnsafeObjects
options (default false) to no-get-with-default rule (@bmish)🐛 Bug Fix
Committers: 1
v9.5.0
Compare Source
🚀 Enhancement
🐛 Bug Fix
no-get
rule (@bmish)Committers: 2
v9.4.0
Compare Source
🚀 Enhancement
🏠 Internal
Committers: 4
v9.3.0
Compare Source
🚀 Enhancement
🐛 Bug Fix
Committers: 2
v9.2.0
Compare Source
🚀 Enhancement
🐛 Bug Fix
Committers: 2
v9.1.1
Compare Source
🐛 Bug Fix
...arguments
in autofix for attrs hooks in require-super-in-init rule (@bmish)Committers: 1
v9.1.0
Compare Source
🚀 Enhancement
checkPlainGetters
option (default false) to no-side-effects rule (@bmish)checkInitOnly
(default true) andcheckNativeClasses
(default false) options to require-super-in-init rule (@bmish)📝 Documentation
🏠 Internal
Committers: 1
Configuration
📅 Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.